package com.smiier.skin.net;

import java.util.ArrayList;

import android.content.Context;
import cn.o.app.io.INoProguard;
import cn.o.app.net.NetTask;

import com.smiier.skin.net.TreatmentajaxProjectCommentsListTask.TreatmentajaxProjectCommentsListRequest;
import com.smiier.skin.net.TreatmentajaxProjectCommentsListTask.TreatmentajaxProjectCommentsListResponse;
import com.smiier.skin.net.entity.Comment;
import com.smiier.skin.util.GlobalSettings;

/*
 * 治疗项目详情
 */
public class TreatmentajaxProjectCommentsListTask
		extends
		NetTask<TreatmentajaxProjectCommentsListRequest, TreatmentajaxProjectCommentsListResponse> {
	public static class TreatmentajaxProjectCommentsListRequest extends
			ORequest {
		public int treatmentprojectid;
		public int start;
		public int end;
	}

	public static class TreatmentajaxProjectCommentsListResponse extends
			ArrayList<Comment> implements INoProguard {

	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL_TREATMENT
				+ "Client/TreatmentProject/ajaxProjectCommentsList";
		mRequestMethod = METHOD_POST;
	}

}
